package com.qaml.mes.device.domain.convert;

import com.qaml.mes.device.dao.EqpRepairDO;
import com.qaml.mes.device.vo.eqp.EqpRepairVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Filename：EqpRepairConvert
 * @Author：zhangzhifeng
 * @Project：mes-device
 * @Date：2024/3/13 13:19
 */
@Mapper
public interface EqpRepairConvert {

    EqpRepairConvert INSTANCE = Mappers.getMapper(EqpRepairConvert.class);


    /**
     * 批量  DO --> VO
     *
     * @param records
     * @return
     */
    List<EqpRepairVO> dos2VOS(List<EqpRepairDO> records);
}
